package com.kalix.training.videos.api.dto;

import com.kalix.framework.core.api.web.model.BaseDTO;

import java.util.ArrayList;
import java.util.List;

/**
 * @author liangchang
 * @desc 院系树结构
 **/
public class VideosTreeDTO extends BaseDTO {
    private String title; //章节名称
    private String cid; //课程id
    private String cname; //课程id
    private int hits; //学习人数
    private long sequence; // 排序
    private String audit; //审核
    private long did;    // 院系id
    private String videoUrl; //视频网址
    private long vid; //章节级别
    private String videosName; //父节点名称
    private Boolean leaf; //是否是叶子节点
    private List<VideosTreeDTO> children = new ArrayList<VideosTreeDTO>(); //子回复

    public long getSequence() {
        return sequence;
    }

    public void setSequence(long sequence) {
        this.sequence = sequence;
    }

    public long getDid() {
        return did;
    }

    public void setDid(long did) {
        this.did = did;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public int getHits() {
        return hits;
    }

    public void setHits(int hits) {
        this.hits = hits;
    }

    public String getAudit() {
        return audit;
    }

    public void setAudit(String audit) {
        this.audit = audit;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public long getVid() {
        return vid;
    }

    public void setVid(long vid) {
        this.vid = vid;
    }

    public String getVideosName() {
        return videosName;
    }

    public void setVideosName(String videosName) {
        this.videosName = videosName;
    }

    public Boolean getLeaf() {
        return leaf;
    }

    public void setLeaf(Boolean leaf) {
        this.leaf = leaf;
    }

    public List<VideosTreeDTO> getChildren() {
        return children;
    }

    public void setChildren(List<VideosTreeDTO> children) {
        this.children = children;
    }
}
